package lab02.test06;

/**
 * Created by leovo on 2017/10/14.
 */
public class Ladder {
 double shangdi;
 double xiadi;
 double high;
 double area;
    Ladder(){
        shangdi=1.2;
        xiadi=2.2;
        high=5;
        area=(shangdi+xiadi)*high/2;
    }

 double getArea(){
     return area;
 }
}
